<?php
/**
 * @file $HeadURL: keyword.php $
 * @author $Author: Zhou.Z (zhouzhe@haibao.com) $
 * @date $Date: 2015-3-28 14:50:05 $
 * @brief 
 */
namespace haibao\cms\model\data;

class Keyword extends \haibao\cms\model\data\Base{
	const DEFAULT_STATUS_OK = 1;
	/**
	 * 名称
	 */
	public $Name;
	/**
	 * 创建时间
	 */
	public $CreateTime;
	/**
	 * 创建人
	 */
	public $CreateBy;
	/**
	 * 创建人姓名
	 */
	public $CreateByName;
	/**
	 * 状态
	 */
	public $Status;
	/**
	 * 添加人后台账号
	 */
	
	public function __construct(){
		parent::__construct();
		
		$this->stringField('Name', 'Name',true);
		$this->intField('Status', 'Status',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->intField('CreateBy', 'CreateBy',false);
		
		$this->setTableName('KeyWord');
	}
	
}